home *** CD-ROM | disk | FTP | other *** search
ASP.NET Web Form | 2008-04-04 | 11.9 KB | 208 lines |
- <%@ Page language="c#" Debug="true" Inherits="gbweb.SearchResults" CodeFile="SearchResults.aspx.cs" culture="auto" uiculture="auto" %>
- <%@ Register TagPrefix="gbpvr" TagName="Header" Src="Header.ascx" %>
- <%@ Register TagPrefix="gbpvr" TagName="Footer" Src="Footer.ascx" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <HEAD>
- <title>GBPVR - Advanced Episode Search Results</title>
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <link runat="server" type="text/css" rel="stylesheet" href="CSSAdapters/CSS/TreeView.css"/>
- <link rel="stylesheet" type="text/css" href="<%=System.Convert.ToString(Session["theme"])%>/styles.css"/>
- <link rel="stylesheet" type="text/css" href="<%=System.Convert.ToString(Session["theme"])%>/TreeView.css"/>
- <link rel="shortcut icon" type="image/gif" href="<%=System.Convert.ToString(Session["theme"])%>/favicon.gif">
- <script language="javascript" src="public/scrolling.js"></script>
- <script type="text/javascript">
- function SelectAllCheckboxes(theBox) {
- var xState = theBox.checked;
- elm = theBox.form.elements;
- for(i = 0; i < elm.length; i++)
- {
- if (elm[i].type == "checkbox")
- {
- if (elm[i].checked != xState)
- {
- elm[i].click();
- }
- }
- }
- }
- </script>
- <script language="javascript" src="public/popup.js"></script>
- <script language="javascript" src="public/Ajax.js"></script>
- <!--[if lt IE 7]>
- <link runat="server" rel="stylesheet" href="CSSAdapters/CSS/BrowserSpecific/IEMenu6.css" type="text/css" id="IEMenu6CSS" />
- <![endif]-->
- </HEAD>
- <body class="tabbedpage" onload="GetServerTime(),GetReminders(), fixScrolling('hdnScrollState')">
- <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="True">
- <Services>
- <asp:ServiceReference Path="~/AjaxService.asmx" />
- </Services>
- </asp:ScriptManager>
- <form id="Form1" runat="server">
- <input runat="server" type="hidden" id="hdnScrollState" style="width: 39px" />
- <!-- Topbar begin -->
- <gbpvr:Header id="header" runat="server" ActiveTab="searchResults" />
- <!-- Topbar end -->
- <table cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td align=left valign=top><IMG height="14" src="public/t.gif" width="1" border="0"></td>
- <td>
- <table cellSpacing="0" border="0" cellpadding="0">
- <tr>
- <td align=left valign=top id=timeDiv class=time></td>
- <td align=left valign=top><IMG height="1" src="public/t.gif" width="15" border="0"></td>
- <td align=left valign=top id=REMINDER_DIV class=time ></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="10"><img src="public/t.gif" width="10" height="1" border="0"></td>
- <td width="99%" class="listing">
-
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr>
- <td width="99%" class="cline"><img src="public/t.gif" width="400" height="1" border="0"></td>
- </tr>
- <tr>
- <td width="99%" valign="bottom"><span style="float: right"><a href="ColorCoding.aspx" onclick="EditPop4(this.href,'Add0');return false;" class="listing">Coloring Guide</a><IMG height="1" src="public/t.gif" width="4" border="0"></span>
- <span class="date"> <IMG height="4" src="public/t.gif" width="1"><br>
- <b>Advanced Episode Search Results</b></span></td>
- </tr>
- </table>
- <img src="public/t.gif" width="1" height="10"><br>
- <!-- Search Results table begin -->
- <blockquote>
- <table border="1" cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <TABLE class="listing" cellSpacing="0" cellPadding="10" width="100%" border="0">
- <TR>
- <TD>
- <asp:RadioButtonList id="radioTime" runat="server" CssClass="listing" CellSpacing="0" CellPadding="0">
- <asp:ListItem Value="once" Selected="True">Once</asp:ListItem>
- <asp:ListItem Value="thisTime">This time slot</asp:ListItem>
- <asp:ListItem Value="anyTime">Any time slot</asp:ListItem>
- </asp:RadioButtonList>
- </TD>
- <TD>
- <asp:RadioButtonList id="radioDay" runat="server" CssClass="listing" CellSpacing="0" CellPadding="0">
- <asp:ListItem Value="thisDay" Selected="True">This day only</asp:ListItem>
- <asp:ListItem Value="anyDay">Any Day</asp:ListItem>
- <asp:ListItem Value="specificDays">Specific day(s)</asp:ListItem>
- </asp:RadioButtonList>
- </TD>
- </TR>
- <TR>
- <TD>
- Quality:<BR>
- <asp:DropDownList id="quality" runat="server">
- <asp:ListItem Value="High">High</asp:ListItem>
- <asp:ListItem Value="Medium" Selected="True">Medium</asp:ListItem>
- <asp:ListItem Value="Low">Low</asp:ListItem>
- <asp:ListItem Value="Custom1">Custom1</asp:ListItem>
- <asp:ListItem Value="Custom2">Custom2</asp:ListItem>
- <asp:ListItem></asp:ListItem>
- </asp:DropDownList><BR>
- <BR>
- Recordings to keep:<BR>
- <asp:TextBox id="keepRecordings" runat="server" Columns="3" MaxLength="3">0</asp:TextBox>
- (0 = all)
- <BR>
- <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="keepRecordings"
- ErrorMessage="Value must be numeric" ValidationExpression="^([-]|[0-9])[0-9]*$"></asp:RegularExpressionValidator><br />
- Padding:<br />
- <img border="0" height="10" src="public/t.gif" width="10" />Pre:
- <asp:TextBox ID="prePadding" runat="server" Columns="3" MaxLength="3" Width="28px">0</asp:TextBox>
- Post:
- <asp:TextBox ID="postPadding" runat="server" Columns="3" MaxLength="3" Width="28px">0</asp:TextBox><br />
- Extend End Time Minutes:
- <asp:TextBox ID="extendMinutes" runat="server" Columns="3" MaxLength="3" Width="28px">0</asp:TextBox>
- <br />
- <img border="0" height="10" src="public/t.gif" width="10" />
- <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="prePadding"
- ErrorMessage="Pre-padding must be numeric" ValidationExpression="^([-]|[0-9])[0-9]*$"></asp:RegularExpressionValidator><br />
- <img border="0" height="10" src="public/t.gif" width="10" />
- <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="postPadding"
- ErrorMessage="Post-padding must be numeric" ValidationExpression="^([-]|[0-9])[0-9]*$"></asp:RegularExpressionValidator> <br />
- <img border="0" height="10" src="public/t.gif" width="10" />
- <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="extendMinutes"
- ErrorMessage="Extend minutes must be numeric" ValidationExpression="^([-]|[0-9])[0-9]*$"></asp:RegularExpressionValidator></TD>
- <TD>
- <asp:CheckBoxList id="checkedDays" runat="server" CssClass="listing" RepeatColumns="2">
- <asp:ListItem Value="monday">Monday</asp:ListItem>
- <asp:ListItem Value="tuesday">Tuesday</asp:ListItem>
- <asp:ListItem Value="wednesday">Wednesday</asp:ListItem>
- <asp:ListItem Value="thursday">Thursday</asp:ListItem>
- <asp:ListItem Value="friday">Friday</asp:ListItem>
- <asp:ListItem Value="saturday">Saturday</asp:ListItem>
- <asp:ListItem Value="sunday">Sunday</asp:ListItem>
- </asp:CheckBoxList>
- </TD>
- </TR>
- <TR>
- <TD vAlign="middle" align="center" colspan="2">
- <DIV style="WIDTH: 115px">
- <asp:LinkButton id="hlRecord" runat="server" CssClass="btn-normal-small" onclick="hlRecord_Click">
- <span>Record</span></asp:LinkButton></DIV>
- </TD>
- </TR>
- </TABLE>
- </td>
- </tr>
- </table>
- </blockquote>
- <table border="0" class="listing">
- <tr>
- <td style="width: 115px">
- Show Results In:</td>
- <td style="width: 546px">
- <asp:RadioButtonList ID="sr_searchResults" runat="server" AutoPostBack="True" CssClass="listing"
- RepeatDirection="Horizontal" RepeatLayout="Flow" Width="485px">
- <asp:ListItem Value="tree">TreeView</asp:ListItem>
- <asp:ListItem Selected="True" Value="table">Table View</asp:ListItem>
- </asp:RadioButtonList></td>
- </tr>
- <span runat="server" id="treeViewSortOptions">
- <tr>
- <td style="width: 115px">
- Sort Order:</td>
- <td style="width: 546px">
- <asp:RadioButtonList ID="srtOrder" runat="server" AutoPostBack="True" RepeatDirection="Horizontal"
- RepeatLayout="Flow">
- <asp:ListItem Selected="True" Value="title">Title</asp:ListItem>
- <asp:ListItem Value="genre">Genre</asp:ListItem>
- <asp:ListItem Value="rating">Rating</asp:ListItem>
- <asp:ListItem Value="date">Air Date (ad)</asp:ListItem>
- <asp:ListItem Value="channel">Channel</asp:ListItem>
- <asp:ListItem Value="status">Status</asp:ListItem>
- </asp:RadioButtonList></td>
- </tr>
- </span>
- </table>
- <table cellSpacing="1" cellPadding="1" border="0">
- <TR>
- <TD align="center" class="listing"><asp:label id="RecordMessage" runat="server" Visible="False" CssClass="conflict">Record Message</asp:label></TD>
- <TD align="center"><asp:dropdownlist id="Recordings" Visible="False" runat="server"></asp:dropdownlist></TD>
- </TR>
- </table>
- <BR>
- <span runat="server" id="tableView">
- <asp:table CssClass="searchTable" id="tableResults" runat="server" width="95%" gridlines="Both"
- BorderWidth="0px" CellPadding="6" CellSpacing="1"></asp:table>
- </span>
- <!-- Search Results table end -->
- <gbpvr:Footer id="footer" runat="server" />
- </td>
- <td width="10"><IMG height="71" src="public/t.gif" width="10" border="0"></td>
- </tr>
- </table>
- <div runat="server" id="treeView">
- <asp:TreeView ID="TreeView1" runat="server" ExpandDepth="0" CssSelectorClass="TreeView">
- </asp:TreeView>
- </div>
- </form>
- </body>
- </HTML>
-